package game.messages.login
{
	import engine.network.*;
	import flash.utils.*;
	
	public class RxLogin_ConnectMessage extends RxNetMessageBase
	{
		public var versionFingerprint:String;
		public var versionDate:String;
		public static const messageId:int = 1;
		public static const fixedSize:Boolean = false;
		
		public function RxLogin_ConnectMessage()
		{
		}
		
		override public function GetBinarySize(param1:Number) : int
		{
			return GetSize_String(this.versionFingerprint) + GetSize_String(this.versionDate);
		}
		
		override public function GetId() : int
		{
			return messageId;
		}
		
		override public function IsFixedSize() : Boolean
		{
			return false;
		}
		
		override public function ToBinary(param1:ByteArray, param2:Number) : void
		{
			Write_String(param1, this.versionFingerprint);
			Write_String(param1, this.versionDate);

		}
		
		override public function FromBinary(param1:ByteArray, param2:Number) : void
		{
			this.versionFingerprint = Read_String(param1);
			this.versionDate = Read_String(param1);

		}
	}
}